package com.haihong.consumer.service;

import org.springframework.stereotype.Component;

/**
 * 服务熔断、降级
 *
 * @author admin
 * @version 1.0  2019/8/25 9:31
 */
@Component
public class RemoteInterfaceImpl implements RemoteInterface {
    @Override
    public Object getUserInfo(String userName) {
        return "Hello " + userName + ",This server request is failed";
    }
}
